package pattern.decorator.extend;

// 炒饭加鸡蛋加火腿
public class FriedRiceAddEggAddHam extends FriedRiceAddEgg {
    String getDesc() {
        return super.getDesc() + "+火腿";
    }
    Integer getPrice() {
        return super.getPrice() + 3;
    }
}
